package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜品管理对象 t_dish
 * 
 * @author TDish
 * @date 2024-10-23
 */
public class TDish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date addtime;

    /** 名称 */
    @Excel(name = "名称")
    private String dishName;

    /** 类型 */
    @Excel(name = "类型")
    private String dishType;

    /** 图片 */
    @Excel(name = "图片")
    private String dishPic;

    /** 口味 */
    @Excel(name = "口味")
    private String taste;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 商家编号 */
    @Excel(name = "商家编号")
    private String merchantNo;

    /** 商家名称 */
    @Excel(name = "商家名称")
    private String merchantName;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 组成 */
    @Excel(name = "组成")
    private String form;

    /** 菜品介绍 */
    @Excel(name = "菜品介绍")
    private String dishIntro;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setDishName(String dishName) 
    {
        this.dishName = dishName;
    }

    public String getDishName() 
    {
        return dishName;
    }
    public void setDishType(String dishType) 
    {
        this.dishType = dishType;
    }

    public String getDishType() 
    {
        return dishType;
    }
    public void setDishPic(String dishPic) 
    {
        this.dishPic = dishPic;
    }

    public String getDishPic() 
    {
        return dishPic;
    }
    public void setTaste(String taste) 
    {
        this.taste = taste;
    }

    public String getTaste() 
    {
        return taste;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setMerchantNo(String merchantNo) 
    {
        this.merchantNo = merchantNo;
    }

    public String getMerchantNo() 
    {
        return merchantNo;
    }
    public void setMerchantName(String merchantName) 
    {
        this.merchantName = merchantName;
    }

    public String getMerchantName() 
    {
        return merchantName;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setForm(String form) 
    {
        this.form = form;
    }

    public String getForm() 
    {
        return form;
    }
    public void setDishIntro(String dishIntro) 
    {
        this.dishIntro = dishIntro;
    }

    public String getDishIntro() 
    {
        return dishIntro;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("addtime", getAddtime())
            .append("dishName", getDishName())
            .append("dishType", getDishType())
            .append("dishPic", getDishPic())
            .append("taste", getTaste())
            .append("price", getPrice())
            .append("merchantNo", getMerchantNo())
            .append("merchantName", getMerchantName())
            .append("address", getAddress())
            .append("form", getForm())
            .append("dishIntro", getDishIntro())
            .toString();
    }
}
